<?php

use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;

return new class extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Schema::table('shop_details', function (Blueprint $table) {
            $table->tinyInteger('need_fee')->default(1)->comment('1不需要管理费2需要管理费');
            $table->integer('consulation_volume')->default(0)->comment('咨询量');
            $table->decimal('manage_fee',10,1)->default(0)->comment('管理费');
        });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        Schema::table('shop_details', function (Blueprint $table) {
            //
        });
    }
};
